package com.info.zhiduoduo.repository.mapper.system;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.info.zhiduoduo.repository.dto.system.MenuDto;
import com.info.zhiduoduo.repository.entity.system.SystemMenu;

import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MenuMapper extends BaseMapper<SystemMenu> {

	@Select("SELECT * from zdd_system_menu where parentmenuid=#{parentid}")
	List<MenuDto> getMenuChildrenList(int parentid);
}
